Programmable Dispel Magic
(Abjuration)

Range:  10 yards
Components:  V, S, M
Duration:  Special
Casting Time:  2 turns per level
Area of Effect:  10-foot radius
Saving Throw:  None

This spell is a more refined version of dispel magic. The spell allows the wizard to specify the exact conditions under which it will manifest its effects, much like a contingency, but without that spell's side effects.
Instructions may contain one word per level of the wizard. Some examples follow:
	"When evil passes, dispel stoneshape".
	"When a century has passed, dispel sepia snake sigil".
	"When box is opened, dispel all magic".
The spell must be cast on an object or place and can affect all magic within 10 feet. Magic cast by other wizards will resist being dispelled as per dispel magic, unless those wizards collaborate with the wizard in the spell's preparation.
The material components are a silver candle snuff, a scroll made of vellum prepared from disenchanter skin and ink prepared from disenchanter blood, and the crushed lens from a beholder's central eye. The cost is 100 gp per word, and the scroll is consumed in the casting. The candle snuff is not destroyed.

